/**
 * 
 */
package com.google.code.cisx.gwt.client.components;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Hyperlink;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;

/**
 * @author <a href='mailto:rahul.thakur.xdev@gmail.com'>Rahul Thakur</a>
 * @version $Id: NavigationComponent.java 266 2009-01-21 06:38:36Z rahul.thakur.xdev $
 * @since 1.0
 */
public class NavigationComponent extends Composite {

  private final VerticalPanel vp = new VerticalPanel();

  /**
   * 
   */
  public NavigationComponent() {
    super();
    initWidget(vp);
    Hyperlink link = new Hyperlink("Project Groups", "");
    link.addClickListener(new ClickListener() {

      public void onClick(Widget sender) {
        GWT.log("Attempting to view all project groups!", null);
      }
    });
    vp.add(link);

    link = new Hyperlink("New Project", "");
    link.addClickListener(new ClickListener() {

      public void onClick(Widget sender) {
        GWT.log("Attempting to add New Project!", null);
      }
    });
    vp.add(link);

    link = new Hyperlink("New Project Group", "");
    link.addClickListener(new ClickListener() {

      public void onClick(Widget sender) {
        GWT.log("Attempting to add New Project Group!", null);
      }
    });
    vp.add(link);

    link = new Hyperlink("Build Management", "");
    link.addClickListener(new ClickListener() {

      public void onClick(Widget sender) {
        GWT.log("Attempting to open Build Management menu!", null);
      }
    });
    vp.add(link);

    link = new Hyperlink("Users & Roles", "");
    link.addClickListener(new ClickListener() {

      public void onClick(Widget sender) {
        GWT.log("Attempting to open User & Roles menu!", null);
      }
    });
    vp.add(link);
  }
}
